home *** CD-ROM | disk | FTP | other *** search
/ Wisdom on Demand - Your …e to Professional Success / Wisdom on Demand - Your Guide to Professional Success.iso / pc / BIN / COMMON / launch.swf / scripts / DefineSprite_431 / frame_14 / DoAction.as
Encoding:
Text File  |  2003-07-07  |  2.6 KB  |  135 lines

  1. submitReg.onRelease = function()
  2. {
  3.    getUrl("event: restoreCursor", "");
  4.    play();
  5. };
  6. close.onRelease = function()
  7. {
  8.    getUrl("event: restoreCursor", "");
  9.    fscommand("quit");
  10. };
  11. back.onRelease = function()
  12. {
  13.    getUrl("event: restoreCursor", "");
  14.    _level0.gotoAndStop("startScreen");
  15. };
  16. back.onRollOver = function()
  17. {
  18.    getUrl("event: changeCursor", "");
  19. };
  20. back.onRollOut = function()
  21. {
  22.    getUrl("event: restoreCursor", "");
  23. };
  24. start.onRelease = function()
  25. {
  26.    getUrl("event: restoreCursor", "");
  27.    movConrol = null;
  28.    _level0.gotoAndStop("terms");
  29. };
  30. start.onRollOver = function()
  31. {
  32.    getUrl("event: changeCursor", "");
  33. };
  34. start.onRollOut = function()
  35. {
  36.    getUrl("event: restoreCursor", "");
  37. };
  38. ff.onRelease = function()
  39. {
  40.    getUrl("event: restoreCursor", "");
  41.    goMov = movie._currentframe + 100;
  42.    if(goMov >= movie._totalframes)
  43.    {
  44.       movie.gotoAndStop(movie._totalframes);
  45.    }
  46.    else
  47.    {
  48.       movie.gotoAndPlay(goMov);
  49.    }
  50.    stopAllSounds();
  51.    movie.track.gotoAndPlay(1);
  52.    gotoAndPlay(13);
  53. };
  54. ff.onRollOver = function()
  55. {
  56.    getUrl("event: changeCursor", "");
  57. };
  58. ff.onRollOut = function()
  59. {
  60.    getUrl("event: restoreCursor", "");
  61. };
  62. rw.onRelease = function()
  63. {
  64.    getUrl("event: restoreCursor", "");
  65.    goMov = movie._currentframe - 100;
  66.    if(goMov <= 1)
  67.    {
  68.       movie.gotoAndPlay(1);
  69.    }
  70.    else
  71.    {
  72.       movie.gotoAndPlay(goMov);
  73.    }
  74.    stopAllSounds();
  75.    movie.track.gotoAndPlay(1);
  76.    gotoAndPlay(13);
  77. };
  78. rw.onRollOver = function()
  79. {
  80.    getUrl("event: changeCursor", "");
  81. };
  82. rw.onRollOut = function()
  83. {
  84.    getUrl("event: restoreCursor", "");
  85. };
  86. btnpause.onRelease = function()
  87. {
  88.    getUrl("event: restoreCursor", "");
  89.    movConrol = null;
  90.    movie.stop();
  91.    gotoAndStop(15);
  92.    stopAllSounds();
  93. };
  94. btnpause.onRollOver = function()
  95. {
  96.    getUrl("event: changeCursor", "");
  97. };
  98. btnpause.onRollOut = function()
  99. {
  100.    getUrl("event: restoreCursor", "");
  101. };
  102. end.onRelease = function()
  103. {
  104.    getUrl("event: restoreCursor", "");
  105.    movConrol = null;
  106.    movie.gotoAndStop(movie._totalframes);
  107.    stopAllSounds();
  108.    gotoAndPlay(13);
  109. };
  110. end.onRollOver = function()
  111. {
  112.    getUrl("event: changeCursor", "");
  113. };
  114. end.onRollOut = function()
  115. {
  116.    getUrl("event: restoreCursor", "");
  117. };
  118. begin.onRelease = function()
  119. {
  120.    getUrl("event: restoreCursor", "");
  121.    movConrol = null;
  122.    movie.gotoAndPlay(1);
  123.    stopAllSounds();
  124.    gotoAndPlay(13);
  125. };
  126. begin.onRollOver = function()
  127. {
  128.    getUrl("event: changeCursor", "");
  129. };
  130. begin.onRollOut = function()
  131. {
  132.    getUrl("event: restoreCursor", "");
  133. };
  134. stop();
  135.